From: Eli Zaretskii Date: Mon, 19 Nov 2018 19:47:40 +0000 (+0200) Subject: Avoid compiler warning in emacsclient.c X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~19^2~4525 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=57d5c14d2a390ca9a0a4d9fa934446150ecd16fc;p=emacs.git Avoid compiler warning in emacsclient.c * lib-src/emacsclient.c (socket_name): Define only if NO_SOCKETS_IN_FILE_SYSTEM is not defined, to avoid a compiler warning. --- diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c index 808755ef604..187d2d7b5be 100644 --- a/lib-src/emacsclient.c +++ b/lib-src/emacsclient.c @@ -132,8 +132,10 @@ static bool tty; is not running. --alternate-editor. */ static char *alternate_editor; +#ifndef NO_SOCKETS_IN_FILE_SYSTEM /* If non-NULL, the filename of the UNIX socket. */ static char const *socket_name; +#endif /* If non-NULL, the filename of the authentication file. */ static char const *server_file;